package cn.gjculture.shopping.api.entity;

import lombok.Data;
import lombok.Getter;

@Data
public class RefundFlow {
    private String refundFlowId;
    private String orderId;
    private String refundReason;
    private String rejectRefundReason;
    //2发起退款流程，3，拒绝退款，4同意退款，5添加退货物流信息，6收到货物并退款,8退款成功
    private Integer status;
    private String refundReceiverAddress;
    private String refundLogistics;
    private Integer refundType;
    private String customerId;
    private Long insertTime;
    private Long agreeTime;
    private Long logisticsTime;
    private Long refundTime;
    private Long refundSuccessTime;




    public static enum  RefundType{
        ONLY_REFUND(1),REFUND_AND_GOODS(2),EXCHANGE_GOODS(3);
        @Getter
        private Integer value;

        RefundType(Integer value){
            this.value=value;
        }
    }
}
